package  com.tongji.housediy.events.commonEvent
{
	import com.tongji.housediy.view.components.AbstractBorderChild;
	import com.tongji.housediy.view.components.AbstractDrawingRoom;
	import com.tongji.housediy.view.components.RoomShape;
	
	import flash.display.Sprite;
	import flash.events.Event;
	
	/**
	 * 
	 * @author chenchao
	 * 
	 */
	public class RulerAdminEvent extends Event
	{	
		public static const ADD_RULER:String = "addRuler";
		public static const HIDE_ALL_RULERS:String = "hideAllRulers";
		public static const SHOW_HIDE_RULERS:String = "showHideRulers";
		
		public var hostRoom:AbstractDrawingRoom;
		public var array:Array;
		
		public function RulerAdminEvent(type:String, hostRoom:AbstractDrawingRoom = null, array:Array = null)
		{
			super(type, true);
			this.hostRoom = hostRoom;
			this.array = array;
		}
		
		override public function clone():Event
		{
			return new RulerAdminEvent(type, hostRoom, array);
		}
	}
}